<template>
	<view>
		<uni-list>
			<uni-list-item v-for="(item,index) in options" :key="index" :title="item.key" :rightText="item.value"></uni-list-item>

		</uni-list>
	</view>
</template>

<script>
	import { examineQuery } from '../../api/huanzhe.js'
	export default {
		data() {
			return {
				options: [],
				key:[
					{
						key:'姓名',
						value:'xm'
					},
					{
						key:'长/临',
						value:'cl'
					},
					{
						key:'分类',
						value:'lb'
					},
					{
						key:'医嘱内容',
						value:'yzlr'
					},
					{
						key:'剂量',
						value:'jl'
					},
					{
						key:'剂量单位',
						value:'dw'
					},
					{
						key:'频次',
						value:'pc'
					},
					{
						key:'途径',
						value:'tj'
					},
					{
						key:'责任医生',
						value:'zrys'
					},
					{
						key:'医嘱记录',
						value:'bz'
					},
					{
						key:'添加时间',
						value:'sj'
					}
				]
			}
		},
		onLoad(option){
			// 医嘱详情
			this.key.forEach((item,index)=>{
				var xm={
					value:option[item.value],
					key:item.key
				}
				this.options.push(xm)
			})
		},
		methods: {
		}
	}
</script>

<style>

</style>